Projects each element of this view to a collection of collections, flattens the resulting collections into one collection,
and invokes a result selector function on each element therein.
Namespace:
C1.LiveLinq.LiveViewsAssembly: C1.LiveLinq (in C1.LiveLinq.dll)
Syntax
C# |
---|
public View<TResult> SelectMany<TCollection, TResult>( Expression<Func<T, IObservableSource<TCollection>>> collectionSelector, Expression<Func<T, TCollection, TResult>> resultSelector ) |
Visual Basic |
---|
Public Function SelectMany(Of TCollection, TResult) ( _ collectionSelector As Expression(Of Func(Of T, IObservableSource(Of TCollection))), _ resultSelector As Expression(Of Func(Of T, TCollection, TResult)) _ ) As View(Of TResult) |
Parameters
- collectionSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, IObservableSource<(Of <(<'TCollection>)>)>>)>)>>)>)>
A transform function to apply to each element of this view.
- resultSelector
- Type: System.Linq.Expressions..::..Expression<(Of <(<'Func<(Of <(<'T, TCollection, TResult>)>)>>)>)>
A transform function to apply to each element of the intermediate collection.
Type Parameters
- TCollection
- The type of the intermediate elements collected by collectionSelector.
- TResult
- The type of the elements of the resulting view.